@import "../utils/color";

ul.scroll-list {
  margin: 0 50px;
}

.singer-scroll-v {
  width: 100%;
  height: 100%;
}

.singer-scroll-h {
  width: 100%;
  height: 250px;

  & + & {
    margin-top: 30px;
  }
}

.singer-tab {
  position: relative;
  float: left;
  width: 270px;
  height: 250px;
  margin-right: 20px;

  &.fe-focus {
    .singer-tab-photo {
      transform: scale(1.1);
      border: 5px solid $primary;

      .photo-mask {
        position: absolute;
        z-index: 1;
        width: 100%;
        height: 100%;
        background-color: rgba($black, 0.5);
      }
    }

    .text-mask {
      display: none;
    }
  }

  &-photo {
    position: absolute;
    overflow-x: hidden;
    overflow-y: hidden;
    width: 100%;
    height: 100%;
    border-radius: 5px;

    &-img {
      position: absolute;
      width: 100%;
      height: 100%;
    }
  }

  &-inner {
    font-weight: bold;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 64px;

    .marquee-truncate {
      font-size: 32px;
      position: absolute;
      z-index: 1;
      bottom: 16px;
      width: 100%;
      padding: 0 16px;
      text-align: center;
      white-space: nowrap;
      text-overflow: ellipsis;
    }

    .text-mask {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-image: linear-gradient(rgba($black, 0.01), rgba($black, 0.5));
    }
  }
}
